package com.droid.lib.controls.demo.view;

import com.droid.lib.controls.demo.R;
import com.droid.lib.controls.widget.FloatLabelLayout;

import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
/**
 * FloatLabel
 * @author Administrator
 *
 */
public class FloatLabelFragment extends Fragment {
	private Context mContext;
	private FloatLabelLayout fl_username;
	private FloatLabelLayout fl_password;

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		mContext = getActivity();
		View view = LayoutInflater.from(mContext).inflate(R.layout.fragment_floatlabel, null);
		fl_username=(FloatLabelLayout)view.findViewById(R.id.fl_username);
		fl_password=(FloatLabelLayout)view.findViewById(R.id.fl_password);
		return view;
	}
}
